#ifndef EDITORWIDGET_H
#define EDITORWIDGET_H

#include <QtGui/QWidget>
#include "editor.h"
namespace Ui {
    class EditorWidget;
}

class EditorWidget : public QWidget {
    Q_OBJECT
public:
    EditorWidget(QWidget *parent = 0);
    ~EditorWidget();
    EEditor* editor();
    void setFindWidgetVisible(bool);
    bool isFindWidgetVisible();
protected:
    void changeEvent(QEvent *e);

private:
    bool m_findWidgetVisible;
    Ui::EditorWidget *m_ui;

private slots:
    void on_closeButton_clicked();
    void on_replaceBtn_clicked();
    void on_findButton_clicked();
};

#endif // EDITORWIDGET_H
